<h1>Listing type_events</h1>

<table>
  <tr>
    <th>Name</th>
  </tr>

<% @type_events.each do |type_event| %>
  <tr>
    <td><%=h type_event.name %></td>
    <td><%= link_to 'Show', type_event %></td>
    <td><%= link_to 'Edit', edit_type_event_path(type_event) %></td>
    <td><%= link_to 'Destroy', type_event, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New type_event', new_type_event_path %>